const { list } = require("./mock");
module.exports = app => {
  app.get("/api/list", (_, res) => {
    res.send({
      code: 200,
      message: "数据获取成功",
      list: list,
    });
  });
};
